package com.peng._05mvcboot02.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户DTO
 * 接收用户提交信息
 * @Author peng
 * @Date 2024-04-22 11:22
 */
@Data
@ApiModel(value = "用户注册DTO")
public class AddUserDTO {
    @ApiModelProperty(name = "username",value = "用户名",required = true)
    private String username;
    @ApiModelProperty(name = "password",value = "密码",required = true)
    private String password;
    @ApiModelProperty(name = "nickname",value = "昵称")
    private String nickname;
}
